package com.example.saiaadmin.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageBean<T> {
    //总条数
    private Long total;
    //当前页的数据集合
    private List<T> data;
    private Integer per_page;
    private Integer current_page;
    private Integer last_page;

}